import * as env from './env'

const baseurlConfigs = {
    'TE': 'http://freelancer.m.t.dingdongxiaoqu.com/',
    'XE': 'http://freelancer.m.x.dingdongxiaoqu.com/',
    'RE': 'http://freelancer.m.r.dingdongxiaoqu.com/',
    'PE': 'http://freelancer.m.ddxq.mobi/'
}

let exports = baseurlConfigs[env.MODE] || location.origin

export default exports